# urls.py
from django.urls import path

from . import views
from .view import stats, article_view
from .views import getMaps

urlpatterns = [
    # 刷新令牌
    # path('register/', views.register, name='register'),
    path('mh/getMaps', views.getMaps, name='getMaps'),
    path('mh/getArticle', views.getArticle, name='article'),
    path('mh/updateArticle', views.updateArticle, name='updateArticle'),
    path('mh/addArticle', views.addArticle, name='addArticle'),
    path('stats/topicStats', stats.doTopicStats, name='doTopicStats'),
    path('article/queryArticle', article_view.paginated_articles, name='queryArticle'),
    path('article/addArticle', article_view.add_article, name='addArticle')
]
